package com.ikkong.biz.model;

import java.util.Date;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;
import org.beetl.sql.core.annotatoin.Table;

import com.ikkong.core.annotation.BindID;
import com.ikkong.core.model.BaseModel;

@Table(name = "tb_notice")
@BindID(name = "id")
@SuppressWarnings("serial")
public class Notice extends BaseModel {
	private Integer id;
	private String title;
	private String content;
	private Integer creator;
	private String cname;
	private Date ctime;
    private Integer version;

    // 老师权限-1查全部 -1
    private java.lang.String teacher_auth;
    // 学生权限 -1
    private java.lang.String student_auth;
    // 家长权限 -1
    private java.lang.String parent_auth;

	@AutoID
	@SeqID(name = "SEQ_NOTICE")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getCreator() {
		return creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Date getCtime() {
		return ctime;
	}

	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getTeacher_auth() {
        return teacher_auth;
    }

    public void setTeacher_auth(String teacher_auth) {
        this.teacher_auth = teacher_auth;
    }

    public String getStudent_auth() {
        return student_auth;
    }

    public void setStudent_auth(String student_auth) {
        this.student_auth = student_auth;
    }

    public String getParent_auth() {
        return parent_auth;
    }

    public void setParent_auth(String parent_auth) {
        this.parent_auth = parent_auth;
    }
}
